Pip install the non-common modules

Set up

Set up a folder for saving images

Load data

Load geojson data

Test

Load ENT county df (specifically wide-type df) from csv file

To understand what is meant by long type and wife type dataframes, see https://towardsdatascience.com/visualization-with-plotly-express-comprehensive-guide-eb5ee4b50b57

The slope given in the csv file is actually the inverse slope. We need to either recalculate it or

Nick suppl table

Data

Convert wide df to long df - i.e. separate out the year columns into different rows

Analysis

Moran's